{"ast":null,"code":"var _jsxFileName = \"/data/messenger.client/src/components/Dialogs/index.tsx\";\nimport React from 'react';\nimport \"./Modal.scss\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst Modal = _ref => {\n  let {\n    active,\n    title,\n    onSubmit,\n    children\n  } = _ref;\n  return /*#__PURE__*/_jsxDEV(\"div\", {\n    className: \"modal\",\n    children: /*#__PURE__*/_jsxDEV(\"div\", {\n      className: \"modal__content\",\n      children: [/*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"modal__header\",\n        children: /*#__PURE__*/_jsxDEV(\"div\", {\n          className: \"modal__title\",\n          children: title\n        }, void 0, false, {\n          fileName: _jsxFileName,\n          lineNumber: 10,\n          columnNumber: 21\n        }, this)\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 9,\n        columnNumber: 17\n      }, this), /*#__PURE__*/_jsxDEV(\"div\", {\n        className: \"modal__body\"\n      }, void 0, false, {\n        fileName: _jsxFileName,\n        lineNumber: 12,\n        columnNumber: 17\n      }, this)]\n    }, void 0, true, {\n      fileName: _jsxFileName,\n      lineNumber: 8,\n      columnNumber: 13\n    }, this)\n  }, void 0, false, {\n    fileName: _jsxFileName,\n    lineNumber: 7,\n    columnNumber: 9\n  }, this);\n};\n_c = Modal;\nexport default Modal;\nvar _c;\n$RefreshReg$(_c, \"Modal\");","map":{"version":3,"names":["React","Modal","active","title","onSubmit","children"],"sources":["/data/messenger.client/src/components/Dialogs/index.tsx"],"sourcesContent":["import React from 'react';\nimport {IModalProps} from \"../../models/props/IModalProps\";\nimport \"./Modal.scss\";\n\nconst Modal: React.FC <React.PropsWithChildren<IModalProps>> = ({active, title, onSubmit, children}) => {\n    return (\n        <div className=\"modal\">\n            <div className=\"modal__content\">\n                <div className=\"modal__header\">\n                    <div className=\"modal__title\">{title}</div>\n                </div>\n                <div className=\"modal__body\"></div>\n            </div>\n        </div>\n    );\n}\n\nexport default Modal;"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,OAAO,cAAc;AAAC;AAEtB,MAAMC,KAAsD,GAAG,QAAyC;EAAA,IAAxC;IAACC,MAAM;IAAEC,KAAK;IAAEC,QAAQ;IAAEC;EAAQ,CAAC;EAC/F,oBACI;IAAK,SAAS,EAAC,OAAO;IAAA,uBAClB;MAAK,SAAS,EAAC,gBAAgB;MAAA,wBAC3B;QAAK,SAAS,EAAC,eAAe;QAAA,uBAC1B;UAAK,SAAS,EAAC,cAAc;UAAA,UAAEF;QAAK;UAAA;UAAA;UAAA;QAAA;MAAO;QAAA;QAAA;QAAA;MAAA,QACzC,eACN;QAAK,SAAS,EAAC;MAAa;QAAA;QAAA;QAAA;MAAA,QAAO;IAAA;MAAA;MAAA;MAAA;IAAA;EACjC;IAAA;IAAA;IAAA;EAAA,QACJ;AAEd,CAAC;AAAA,KAXKF,KAAsD;AAa5D,eAAeA,KAAK;AAAC;AAAA"},"metadata":{},"sourceType":"module"}